package HibernateSQLite.java.model;

import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;

import Convertisseur.TimeDateDay;

public class Critere implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private long critere_id = 1L;
	private String critere_name;
	private String update_day = TimeDateDay.getNowTime();
	// Set for critereText et essieu
	@SuppressWarnings("rawtypes")
	private Set critereText = new HashSet();
	
	

	public long getCritere_id() {
		return critere_id;
	}
	public void setCritere_id(long critere_id) {
		this.critere_id = critere_id;
	}
	public String getCritere_name() {
		return critere_name;
	}
	public void setCritere_name(String critere_name) {
		this.critere_name = critere_name;
	}
	public String getUpdate_day() {
		return update_day;
	}
	public void setUpdate_day(String update_day) {
		this.update_day = update_day;
	}
	
	@SuppressWarnings("rawtypes")
	public Set getCritereText() {
		return critereText;
	}
	@SuppressWarnings("rawtypes")
	public void setCritereText(Set critereText) {
		this.critereText = critereText;
	}


	
	
	
	/*
	public void addToCritereText(CritereText critereText){
		this.getCritereText().add(critereText);
	}
	
	public void removeFromCritereText(CritereText critereText){
		this.getCritereText().remove(critereText);
	}
	*/
	
}
